package com.practice.bootdemo.eventdto;

import com.practice.bootdemo.dto.UserDto;
import org.springframework.context.ApplicationEvent;

/**
 * @author :Administrator
 * @description: TODO edit class Description
 * @create date: 2021/11/9 14:57
 */
public class UserDtoEvent extends ApplicationEvent {

    private UserDto userDto;

    public UserDtoEvent(Object source, UserDto userDto) {
        super(source);
        this.userDto=userDto;
    }

    public UserDto getUserDto() {
        return userDto;
    }

    public void setUserDto(UserDto userDto) {
        this.userDto = userDto;
    }
}
